﻿<%@ Page Theme="BlueSkin" Title="نظام التدريب الالكتروني : طلب دعم" Language="C#" MasterPageFile="~/LmsWebSite/MasterAR.master" AutoEventWireup="true" CodeFile="SubmitRequestAR.aspx.cs" Inherits="SubmitRequestAR" %>

<%@ Register src="randomImageCtl.ascx" tagname="randomImageCtl" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
        <asp:UpdateProgress ID="uprogress1" runat="server">
            <ProgressTemplate>
            
                <div style="position:fixed;width:30px;height:30px;top:0px;right:0px;border:1px solid orange;">
                    <img src="images/loading.gif" style="width:30px;height:30px;"  alt='Loading' title='Loading'/>
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    
        
        
        
        
<table cellspacing="5" cellpadding="5" width="100%">
        <tr>
            <td align="right" class="heading">
                <div class="floating">
                <a href="SupportMainAR.aspx">الدعم الفني</a> --> طلب دعم
                </div>

                

                

                <div class="clearing"></div>


            </td>
        </tr>
        <tr>
            <td>
                
                <div class="clearing" style="height:5px;"></div>

                <div class="unfloating aligning direction">
                    <a href='HelpVideo/SubmitRequestAR.swf' target="_blank" class="linktext">
                    <asp:Label ID="lblVideo" runat="server" font-size="16px">
                    فيديو مساعد (انشاء طلب دعم فني جديد)
                    </asp:Label>
                    </a>
                </div>
                <div class="clearing"></div>

            </td>
        </tr>
    </table>
    <br />
    
    <div class="aligning allWidthWithMargins  direction" style="margin-bottom:20px;margin-left:30px;margin-right:30px;font-size:14px;">
    
        <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="lblTitle" runat="server" Text="موضوع الطلب *"></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           <asp:TextBox ID="txtTitle" runat="server" Text="" style="width:250px;"></asp:TextBox>
        </div>  
       <div class="floating aligning direction" >
           <asp:RequiredFieldValidator ID="rfvTitle" runat="server" ErrorMessage="يجب ادخال عنوان الطلب" ControlToValidate="txtTitle">*</asp:RequiredFieldValidator>
        </div>
        
        <div class="clearing" style="width:1px;height:10px;"></div>

        <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="lblRequestType" runat="server" Text="نوع الطلب *"></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           <asp:DropDownList ID="ddlRequestType" runat="server" Width="250px">
           </asp:DropDownList>
        </div>  
       <div class="floating aligning direction" >
           
        </div>

        <div class="clearing" style="width:1px;height:10px;"></div>


        <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="lblDetails" runat="server" Text="التفاصيل *"></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           <asp:TextBox ID="txtDetails" runat="server" Text="" style="width:250px;height:80px;" TextMode="MultiLine"></asp:TextBox>
        </div>  
       <div class="floating aligning direction" >
           <asp:RequiredFieldValidator ID="rfvDetails" runat="server" ErrorMessage="يجب ادخال التفاصيل كاملة" ControlToValidate="txtDetails">*</asp:RequiredFieldValidator>
        </div>



        <div class="clearing" style="width:1px;height:10px;"></div>


        <div class="floating aligning direction" style="width:200px;">
            <asp:Label  runat="server" Text="صورة للتوضيح "></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           <asp:FileUpload ID="flRequestImage" runat="server" />
        </div>  
       <div class="floating aligning direction" >
           
        </div>


        <div class="clearing" style="width:1px;height:10px;"></div>

        


        <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="lblImage" runat="server" Text="اكتب النص التالي *"></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           
           <uc1:randomImageCtl ID="randomImageCtl1" runat="server" />
           
        </div>  
       <div class="floating aligning direction" >
           
        </div>

    
        <div class="clearing" style="width:1px;height:10px;"></div>        

        <div class="floating aligning direction" style="width:450px;">
            
            <div class="aligning direction" style="float:right;width:60px;">
                
                <asp:Button ID="btnSubmit" runat="server" Text="ارسال" 
                    onclick="btnSubmit_Click" BorderStyle="Solid" BorderColor="Orange" BackColor="DarkOrange" ForeColor="White"/>
                <div class="clearing"></div>
            </div>

            <div style="float:right;font-size:1px;width:5px;height:1px"></div>

        
            <div class="aligning direction" style="float:right">
                <asp:Button ID="btnBack" runat="server" Text="رجوع" CausesValidation="false" OnClientClick="history.go(-1);return false;" BorderStyle="Solid" BorderColor="Orange" BackColor="DarkOrange" ForeColor="White"/>
            </div>
            
       

             
        

            
            <div class="clearing"></div>
        </div>



        <div class="clearing" style="width:1px;height:10px;"></div> 

       

         <div class="aligning allWidthWithMargins  direction">
            <asp:Label ID="lblError" runat="server" Text="" ForeColor="Red"  EnableViewState ="false"></asp:Label>
            <div class="clearing"></div>
            <asp:Label ID="lblResult" runat="server" Text="" ForeColor="Green"  EnableViewState="false"></asp:Label>
            <div class="clearing"></div>

            <asp:Panel ID="requestDetails" runat="server" EnableViewState="false" >
                
                <div class="clearing"></div>
            </asp:Panel>

            <div class="clearing"></div>
        </div>
        
        <div class="clearing"></div>
        <div class="aligning allWidthWithMargins  direction">
            <asp:ValidationSummary ID="vsError" runat="server" />
            
            <div class="clearing"></div>
        </div>
        <div class="clearing"></div>
    </div>


    
                


    <div class="clearing" style="height:5px;"></div>

    </ContentTemplate>

    <Triggers>
        <asp:PostBackTrigger ControlID="btnSubmit" />
    </Triggers>

    </asp:UpdatePanel>


</asp:Content>

